package com.sia.springcloud.service;

import com.sia.springcloud.model.Device;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 通信协议设备表 服务类
 * </p>
 *
 * @author Sirius
 * @since 2021-12-27
 */
public interface IDeviceService extends IService<Device> {
    /**
     * 添加设备
     *
     * @param request
     * @return
     */
    String insertDevice(HttpServletRequest request);


    /**
     * 分页查询设备
     *
     * @param request
     * @return
     */
    String queryDevice(HttpServletRequest request);


    /**
     * 删除设备
     *
     * @param request
     * @return
     */
    String deleteDevice(HttpServletRequest request);

    /**
     * 修改设备
     *
     * @param request
     * @return
     */
    String updateDevice(HttpServletRequest request);

    /**
     * 获取设备表单格式
     * @return
     */
    String tableStructure(HttpServletRequest request);
}
